package com.sc.nft.entity.vo.salvageEvents;


import com.sc.nft.enums.AalvageEventsLinkEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class AdminAddAalvageEventsRewardDetailsVO {

    @ApiModelProperty(value = "关联类型", required = true)
    @NotNull(message = "关联类型不能为空")
    private AalvageEventsLinkEnum linkType;

    @ApiModelProperty(value = "关联名称", required = true)
    @NotBlank(message = "关联名称不能为空")
    private String linkName;

    @ApiModelProperty(value = "关联数量", required = true)
    @NotNull(message = "关联数量不能为空")
    private BigDecimal linkCount;

    @ApiModelProperty(value = "关联图片", required = true)
    private String linkImg;

    @ApiModelProperty(value = "关联id", required = true)
    @NotNull(message = "关联道具不能为空！")
    private Long linkId;

    @ApiModelProperty("分解比例")
    private BigDecimal salvageProportion;

    @ApiModelProperty("分解总次数")
    private Integer salvageTotalNum;

}
